package dev.ece.util.tools.transformations;

import dev.ece.util.lib.Matrix4f;
import dev.ece.util.lib.Vector3f;

/**
 * @author 潜行的青衣
 * @see
 */
public class Scale implements Transformation {
	
	private Vector3f scale;
	
	public Scale() {
		this(new Vector3f());
	}
	
	public Scale(Vector3f scale) {
		this.scale = scale;
	}

	/* (non-Javadoc)
	 * @see dev.ece.util.tools.transformations.Transformation#transform()
	 */
	@Override
	public void transform(Matrix4f matrix) {
		matrix.scale(scale);
	}

	public Vector3f getScale() {
		return scale;
	}

}
